package eTaxi;

import java.io.Serializable;

public class UserProfile  implements Serializable {
	
	String name;
	String address;
	int port;
	String ccType;
	int credit;
	
	public UserProfile (String n, String a, int p, String cct, int c)  {
		this.name = n;
		this.address = a;
		this.port = p;
		this.ccType = cct;
		this.credit = c;
	}

    public String getName() {
        return name;
    }

    public void setCredit(int credit) { //serve?
        this.credit = credit;
    }

    public int getCredit() {
        return credit;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setCcType(String ccType) {
        this.ccType = ccType;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPort(int port) {
        this.port = port;
    }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

}
